<%@ page import="net.cookiefarmers.seedswap.Seed" %>



<div class="fieldcontain ${hasErrors(bean: seedInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="seed.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${seedInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: seedInstance, field: 'region', 'error')} ">
	<label for="region">
		<g:message code="seed.region.label" default="Region" />
		
	</label>
	<g:textField name="region" value="${seedInstance?.region}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: seedInstance, field: 'scientificName', 'error')} ">
	<label for="scientificName">
		<g:message code="seed.scientificName.label" default="Scientific Name" />
		
	</label>
	<g:textField name="scientificName" value="${seedInstance?.scientificName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: seedInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="seed.description.label" default="Description" />
		
	</label>
	<g:textField name="description" value="${seedInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: seedInstance, field: 'quantity', 'error')} required">
	<label for="quantity">
		<g:message code="seed.quantity.label" default="Quantity" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="quantity" required="" value="${seedInstance.quantity}"/>
</div>

